﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="addNewmovie.aspx.cs" Inherits="Web.BackgroundManage.files.WebForm1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>影片信息修改</title>
    <link rel="stylesheet" rev="stylesheet" href="../css/style.css" type="text/css" media="all" />

    <script language="JavaScript" type="text/javascript">
function tishi()
{
  var a=confirm('数据库中保存有该人员基本信息，您可以修改或保留该信息。');
  if(a!=true)return false;
  window.open("冲突页.htm","","depended=0,alwaysRaised=1,width=800,height=400,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0");
}

function check()
{
document.getElementById("aa").style.display="";
}


function link(){
alert('保存成功！');
    document.getElementById("fom").action="xuqiumingxi.htm";
   document.getElementById("fom").submit();
}



    </script>

    <style type="text/css">
        .style1
        {
            height: 26px;
        }
    </style>
</head>
<body class="ContentBody">
    <form id="fom" runat="server">

    <script type="text/javascript" src="../js/date.js"></script>

    <div class="MainDiv">
        <table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent">
            <tr>
                <th class="tablestyle_title">
                    影片信息修改
                </th>
            </tr>
            <tr>
                <td class="CPanel">
                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                        <tr>
                            <td align="left">
                                <asp:Button ID="Button1"  runat="server" Text="保存" OnClick="link();" CssClass="SubButton" />
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Button ID="Button2" runat="server" Text="返回" OnClick="window.history.go(-1);" CssClass="SubButton" />
                            </td>
                        </tr>
                        <tr>
                            <td width="100%">
                                <fieldset style="height: 100%;">
                                    <legend>修改电影信息</legend>
                                    <table border="0" cellpadding="2" cellspacing="1" style="width: 100%">
                                        <tr>
                                            <td align="right" width="13%" class="style1">
                                                <label for="filmName">
                                                    电影名称:</label>
                                            </td>
                                            <td width="41%" class="style1">
                                                <asp:TextBox ID="filmName" runat="server" Width="250px"></asp:TextBox>
                                                <span class="red">*</span>
                                            </td>
                                            <td align="right" width="19%" class="style1">
                                                <label for="director">
                                                    影片导演:</label>
                                            </td>
                                            <td width="27%" class="style1">
                                                <asp:TextBox ID="director" runat="server" Width="154px"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right">
                                                <label for="onloadTime">
                                                    上传时间:</label>
                                            </td>
                                            <td>
                                                <input id="onloadTime" class="text" runat="server" style="width: 154px" onclick="fPopCalendar(event,this,this)"
                                                    onfocus="this.select()" />
                                            </td>
                                            <td align="right">
                                                <label for="actors">
                                                    主要演员</label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="actors" runat="server" Width="154px"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td nowrap="nowrap" align="right">
                                                <label for="filmType">
                                                    影片类型:</label>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="filmType" runat="server">
                                                </asp:DropDownList>
                                            </td>
                                            <td align="right">
                                                <label for="fileType">
                                                    文件类型</label>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="fileType" runat="server" AppendDataBoundItems="True">
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td nowrap="nowrap" align="right">
                                                <label for="language">
                                                    语言</label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="language" runat="server" Width="154px"></asp:TextBox>
                                            </td>
                                            <td align="right">
                                                <label for="company">
                                                    出品公司</label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="company" runat="server" Width="154px"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td nowrap="nowrap" align="right">
                                                <label for="loadAddress">
                                                    下载地址</label>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="loadAddress" runat="server" Width="154px"></asp:TextBox>
                                            </td>
                                            <td align="right">
                                                <label for="recommendOrnot">
                                                    是否推荐</label>
                                            </td>
                                            <td>
                                                <asp:RadioButtonList ID="recommendOrnot" runat="server">
                                                    <asp:ListItem>是</asp:ListItem>
                                                    <asp:ListItem>否</asp:ListItem>
                                                </asp:RadioButtonList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td nowrap="nowrap" align="right">
                                                <label for="recommendLevel">
                                                    推荐指数</label>
                                            </td>
                                            <td>
                                                <asp:DropDownList ID="recommendLevel" runat="server">
                                                    <asp:ListItem>★</asp:ListItem>
                                                    <asp:ListItem>★★</asp:ListItem>
                                                    <asp:ListItem>★★★</asp:ListItem>
                                                    <asp:ListItem>★★★★</asp:ListItem>
                                                    <asp:ListItem>★★★★★</asp:ListItem>
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td nowrap="nowrap" align="right">
                                                <label for="filmPicture">
                                                    影片剧照</label>
                                            </td>
                                            <td>
                                                <asp:FileUpload ID="filmPicture" runat="server" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td nowrap="nowrap" align="right" height="120px">
                                                <label for="introduction">
                                                    电影简介</label>
                                            </td>
                                            <td colspan="3">
                                                <asp:TextBox ID="introduction" runat="server" Columns="3" Height="150px" Width="300px"
                                                    AutoPostBack="True"></asp:TextBox>
                                            </td>
                                        </tr>
                                    </table>
                                    <br />
                                </fieldset>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center" height="50px">
                    <asp:Button ID="save"  runat="server" Text="保存" OnClick="link();" CssClass="SubButton" />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="b1" runat="server" Text="返回" OnClick="window.history.go(-1);" CssClass="SubButton" />
                </td>
            </tr>
        </table>

    </div>
    </form>
</body>
</html>
